package com.mf.all.entity.req.search;

import com.mf.all.entity.req.publicReq.ReqPublicPaging;
import io.swagger.v3.oas.annotations.media.Schema;

import lombok.Data;

import java.io.Serializable;

import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 采购物料明细查询条件
 *
 * @date 2025-04-02 22:36:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SearchReqPurchaseNoteDetail extends ReqPublicPaging implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "关键值")
    private String key;

    private Integer id;
    @Schema(description = "物料名称")
    private String materialName;
    @Schema(description = "物料编号")
    private String materialCode;
    @Schema(description = "物料id")
    private Integer materialId;
    @Schema(description = "物料单位")
    private String materialSize;
    @Schema(description = "物料单位")
    private String materialUnit;
    @Schema(description = "采购商id")
    private Integer customerId;
    @Schema(description = "采购数量")
    private Integer quantity;
    @Schema(description = "0-待采购；10-采购中；20-全部采购完成；30-部分采购完成")
    private Integer status;
    @Schema(description = "收到数量")
    private Integer quantityReceived;
    @Schema(description = "关联的采购单id")
    private Integer purchaseNoteId;
}
